﻿namespace SharpObservation.Tests.Dummy
{
    internal class NotifyDummy : ObservableObject
    {
        /// <summary>
        /// Backing Field: The name of the account
        /// </summary>
        private string _name;

        /// <summary>
        /// Gets or Sets the Name of the account
        /// </summary>
        public string Name
        {
            get { return _name; }
            set { SetProperty(nameof(Name), ref _name, value); }       // Nice, compact property setter
        }
    }
}